package com.kmxd.ams.core.license.verify.model;

import com.fasterxml.jackson.annotation.JsonFormat;
import java.io.Serializable;
import java.util.Date;
import java.util.Map;
import lombok.Builder;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 申请码相关信息
 *
 * @author zuolg
 */
@Data
@Builder
public class LicenseAuthInfo implements Serializable {
  private Boolean authFlag;
  private String code;
  private String fondsNum;

  @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date beginTime;

  @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  private Date afterTime;

  /** 版本信息 */
  private String version;

  /** 编译时间 */
  private String buildTime;

  private Map<String, Object> params;
}
